<!-- 文章管理 -->
<!-- <table class="table table-bordered table-striped" id="articleManage">
	<tr>
		<td>代号名</td>
		<td>标题</td>
		<td>排序</td>
		<td>状态</td>
		<td>添加时间</td>
		<td>修改时间</td>
		<td>操作</td>
	</tr>
	<tr>
		<td>关于我们(103)</td>
		<td>关于我们</td>
		<td>0</td>
		<td>启用</td>
		<td>2017-02-07 21:49:30</td>
		<td></td>
		<td>
			<a herf="#" class="btn btn-danger btn-xs">修改</a>&nbsp;&nbsp;
			<a herf="#" class="btn btn-danger btn-xs">停用</a>&nbsp;&nbsp;
			<a herf="#" class="btn btn-danger btn-xs">提审</a>
		</td>
	</tr>
	<tr>
		<td>联系我们(104)</td>
		<td>联系我们</td>
		<td>0</td>
		<td>启用</td>
		<td>2017-02-07 21:49:30</td>
		<td></td>
		<td>
			<a herf="#" class="btn btn-danger btn-xs">修改</a>&nbsp;&nbsp;
			<a herf="#" class="btn btn-danger btn-xs">停用</a>&nbsp;&nbsp;
			<a herf="#" class="btn btn-danger btn-xs">提审</a>
		</td>
	</tr>
	<tr>
		<td>代理联盟(105)</td>
		<td>代理联盟</td>
		<td>0</td>
		<td>启用</td>
		<td>2017-02-07 21:49:30</td>
		<td></td>
		<td>
			<a herf="#" class="btn btn-danger btn-xs">修改</a>&nbsp;&nbsp;
			<a herf="#" class="btn btn-danger btn-xs">停用</a>&nbsp;&nbsp;
			<a herf="#" class="btn btn-danger btn-xs">提审</a>
		</td>
	</tr>
	<tr>
		<td>联盟协议(106)</td>
		<td>联盟协议</td>
		<td>0</td>
		<td>启用</td>
		<td>2017-02-07 21:49:30</td>
		<td></td>
		<td>
			<a herf="#" class="btn btn-danger btn-xs">修改</a>&nbsp;&nbsp;
			<a herf="#" class="btn btn-danger btn-xs">停用</a>&nbsp;&nbsp;
			<a herf="#" class="btn btn-danger btn-xs">提审</a>
		</td>
	</tr>
	<tr>
		<td>存款帮助(107)</td>
		<td>存款帮助</td>
		<td>0</td>
		<td>审核中</td>
		<td>2017-02-07 21:49:30</td>
		<td></td>
		<td>
			<a herf="#" class="btn btn-danger btn-xs">修改</a>&nbsp;&nbsp;
			<a herf="#" class="btn btn-danger btn-xs">停用</a>&nbsp;&nbsp;
			<a herf="#" class="btn btn-danger btn-xs">提审</a>
		</td>
	</tr>
	<tr>
		<td>取款帮助(108)</td>
		<td>取款帮助</td>
		<td>0</td>
		<td>启用</td>
		<td>2017-02-07 21:49:30</td>
		<td></td>
		<td>
			<a herf="#" class="btn btn-danger btn-xs">修改</a>&nbsp;&nbsp;
			<a herf="#" class="btn btn-danger btn-xs">停用</a>&nbsp;&nbsp;
			<a herf="#" class="btn btn-danger btn-xs">提审</a>
		</td>
	</tr>
	<tr>
		<td>常见问题(109)</td>
		<td>常见问题</td>
		<td>0</td>
		<td>启用</td>
		<td>2017-02-07 21:49:30</td>
		<td></td>
		<td>
			<a herf="#" class="btn btn-danger btn-xs">修改</a>&nbsp;&nbsp;
			<a herf="#" class="btn btn-danger btn-xs">停用</a>&nbsp;&nbsp;
			<a herf="#" class="btn btn-danger btn-xs">提审</a>
		</td>
	</tr>
	<tr>
		<td>会员注册(110)</td>
		<td>会员注册</td>
		<td>0</td>
		<td>启用</td>
		<td>2017-02-07 21:49:30</td>
		<td></td>
		<td>
			<a herf="#" class="btn btn-danger btn-xs">修改</a>&nbsp;&nbsp;
			<a herf="#" class="btn btn-danger btn-xs">停用</a>&nbsp;&nbsp;
			<a herf="#" class="btn btn-danger btn-xs">提审</a>
		</td>
	</tr>
	<tr>
		<td>代理注册(111)</td>
		<td>代理注册</td>
		<td>0</td>
		<td>启用</td>
		<td>2017-02-07 21:49:30</td>
		<td></td>
		<td>
			<a herf="#" class="btn btn-danger btn-xs">修改</a>&nbsp;&nbsp;
			<a herf="#" class="btn btn-danger btn-xs">停用</a>&nbsp;&nbsp;
			<a herf="#" class="btn btn-danger btn-xs">提审</a>
		</td>
	</tr>
	<tr>
		<td>开户协议(112)</td>
		<td>开户协议</td>
		<td>0</td>
		<td>启用</td>
		<td>2017-02-07 21:49:30</td>
		<td></td>
		<td>
			<a herf="#" class="btn btn-danger btn-xs">修改</a>&nbsp;&nbsp;
			<a herf="#" class="btn btn-danger btn-xs">停用</a>&nbsp;&nbsp;
			<a herf="#" class="btn btn-danger btn-xs">提审</a>
		</td>
	</tr>
	<tr>
		<td>自定义(113)</td>
		<td>自定义</td>
		<td>0</td>
		<td>启用</td>
		<td>2017-02-07 21:49:30</td>
		<td></td>
		<td>
			<a herf="#" class="btn btn-danger btn-xs">修改</a>&nbsp;&nbsp;
			<a herf="#" class="btn btn-danger btn-xs">停用</a>&nbsp;&nbsp;
			<a herf="#" class="btn btn-danger btn-xs">提审</a>
		</td>
	</tr>
</table> -->
<?php $id="form_".uniqid();?>
<table id="<?php echo $id;?>"></table>
<script>
$("#<?php echo $id;?>").DataSource({url:'setting/get_article_list?type=<?php echo $type?>',
	fields:[[
		{field:'code_name',title:'代号名 ',      width:110, align:'center',sortable:false},
		{field:'title',title:'标题 ',      width:110, align:'center',sortable:true},	
		{field:'sort',title:'排序	',      width:110, align:'center',sortable:true},
		{field:'status',title:'状态',   width:110, align:'center', sortable:true},
		{field:'join_time',title:'添加时间',   width:400, align:'center', sortable:true},	
		{field:'revise_time',title:'修改时间', width:170,align:'center' , sortable:true},	
		{field:'op',      title:'操作', width:370,align:'center',sortable:false,formatter:function(v,r){
			return '<a herf="#" class="btn btn-danger btn-xs" onclick=Core.dialog(\'设置内容\',\'setting/article_con_set\',function(){},true,true);>修改</a>&nbsp;&nbsp;'+
			'<a herf="#" class="btn btn-danger btn-xs" onclick=Core.confirm("<?php echo $id;?>",1,"asd","确定停用该会员使用?")>停用</a>&nbsp;&nbsp;'+
			'<a herf="#" class="btn btn-danger btn-xs" onclick=Core.confirm("<?php echo $id;?>",1,"asd","确定停用该会员使用?")>提审</a>&nbsp;&nbsp;';
		}}
    ]], 
	checkbox:false,
   	footer:true,
	pagination:{layout:['links','last'],showRefresh:false},
	success:function(){
		$('#<?php echo $id?>').pagination({layout:['links','last'],showRefresh:false});
	}
});
</script>

